<?php
/**
 * Created by PhpStorm.
 * User: skytop
 * Date: 2016/7/29
 * Time: 9:48
 */

namespace Admin\Model;


use Think\Model;

class NodeModel extends Model
{
    protected $_validate=array(
        array('name','require','应用名称不能为空'),
        array('title','require','应用描述不能为空'),
        array('sort','require','排序必填'),
        array('name','','此应用名已存在',0,'unique',1)
    );
}